package com.core.repositories;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.scheduling.config.Task;
import org.springframework.stereotype.Repository;

import com.core.model.Img;

@Repository
public interface ImgRepository extends PagingAndSortingRepository<Img, Long>, JpaSpecificationExecutor<Img> {
	
	Page<Img> findBySku(Pageable pageRequest);
	 
}
